package com.ruoyi.vpn.service;

import java.util.List;
import com.ruoyi.vpn.domain.VpnCarmi;
import com.ruoyi.vpn.domain.dto.VpnCarmiDTO;

/**
 * carmiService接口
 * 
 * @author Edwin
 * @date 2024-01-08
 */
public interface IVpnCarmiService 
{
    /**
     * 查询carmi
     * 
     * @param carmiId carmi主键
     * @return carmi
     */
    public VpnCarmi selectVpnCarmiByCarmiId(Long carmiId);

    /**
     * 查询carmi列表
     * 
     * @param vpnCarmi carmi
     * @return carmi集合
     */
    public List<VpnCarmi> selectVpnCarmiList(VpnCarmi vpnCarmi);

    /**
     * 新增carmi
     * 
     * @param vpnCarmi carmi
     * @return 结果
     */
    public int insertVpnCarmi(VpnCarmi vpnCarmi);

    /**
     * 修改carmi
     * 
     * @param vpnCarmi carmi
     * @return 结果
     */
    public int updateVpnCarmi(VpnCarmi vpnCarmi);

    /**
     * 批量删除carmi
     * 
     * @param carmiIds 需要删除的carmi主键集合
     * @return 结果
     */
    public int deleteVpnCarmiByCarmiIds(Long[] carmiIds);

    /**
     * 删除carmi信息
     * 
     * @param carmiId carmi主键
     * @return 结果
     */
    public int deleteVpnCarmiByCarmiId(Long carmiId);

    public int insertManyVpnCarmi(VpnCarmiDTO vpnCarmiDTO);


    Integer rechargeCarmi(VpnCarmi vpnCarmi);
}
